package domain.jsoft.com;

import javax.jdo.annotations.IdGeneratorStrategy;
import com.google.appengine.api.datastore.Key; 
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable
public class User {
	@PrimaryKey     
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)     
	private Key key;
	
	@Persistent
	private String lastName;
	
	@Persistent
	private String firstName;
	
	@Persistent
	private String userID;
	
	@Persistent
	private String email;
	
	@Persistent
	private String password;
	
	public void setKey(Key key){
		this.key = key;
	}
	
	public Key getKey(){
		return this.key ;
	}
	
	public void setLastName(String lastName){
		this.lastName = lastName;
	}
	
	public String getLastName(){
		return this.lastName;
	}
	
	public void setFirstName(String firstName){
		this.firstName = firstName;
	}
	
	public String getFirstName(){
		return this.firstName;
	}
	
	public void setUserID(String userID){
		this.userID = userID;
	}
	
	public String getUserID(){
		return this.userID;
	}
	
	public void setPassword(String password){
		this.password = password;
	}
	
	public String getPassword(){
		return this.password;
	}
	
	public void setEmail(String email){
		this.email = email;
	}
	
	public String getEmail(){
		return this.email;
	}
}
